package io.kiki.stack.http.feign.micrometer;

import io.micrometer.observation.Observation;
import io.micrometer.observation.ObservationConvention;

/**
 * {@link ObservationConvention} for Feign.
 *
 * @since 12.1
 */
public interface FeignObservationConvention extends ObservationConvention<FeignContext> {

    @Override
    default boolean supportsContext(Observation.Context context) {
        return context instanceof FeignContext;
    }
}
